package com.qcby.train.mybaitsplusdemo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qcby.train.mybaitsplusdemo.controller.Demo0513Controller;
import com.qcby.train.mybaitsplusdemo.entity.ClassInfo;
import com.qcby.train.mybaitsplusdemo.mapper.ClassInfoMapper;
import com.qcby.train.mybaitsplusdemo.service.IClassInfoService;
import com.qcby.train.mybaitsplusdemo.vo.ClassInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Service;

/**
 * @className: ClassInfoImpl
 * @description:
 * @author: lxt
 * @create: 2021-04-26 20:35
 **/
@Slf4j
@Service
public class TestService implements ApplicationContextAware {


    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        log.info("service-applicationContext:{}",applicationContext);
    }
}
